﻿using System.ComponentModel.DataAnnotations;

namespace HB.AbpFundation.DTOs.RBAC
{
    public class MenuPermissionInput
    {
        /// <summary>
        /// 权限码
        /// </summary>
        [Required]
        [StringLength(20)]
        public string PermissionCode { get; set; }

        /// <summary>
        /// 权限名
        /// </summary>
        [Required]
        [StringLength(20)]
        public string PermissionName { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsDefault { get; set; }
    }
}
